import { createRouter, createWebHashHistory,  } from 'vue-router';

import LoginForm from '../components/LoginForm.vue';
import LoginFormtwo from '../components/LoginFormtwo.vue';
import password from '../components/password.vue';
import Home from '../components/Home.vue';
import RegistrationForm from '../components/RegistrationForm.vue';
import Class from '../components/Class.vue';


const routes = [  
  {
    path: '/', 
    name: 'Home',
    component: Home
  },
  {  
    path: '/LoginForm',  
    name: 'LoginForm',  
    component: LoginForm  
  },
  {  
    path: '/LoginFormtwo',  
    name: 'LoginFormtwo',  
    component: LoginFormtwo  
  },
  {
    path: '/password', // 这是忘记密码页面的路由路径
    name: 'password',
    component: password
  },
  {
    path: '/RegistrationForm', 
    name: 'RegistrationForm',
    component:RegistrationForm
  },
  
  {
    path: '/class', // 这是课程页面的路由路径
    name: 'Class',
    component: Class
  },
];  
  
const router = createRouter({  
  history: createWebHashHistory(),  
  routes  
});  


  
export default router;